{extend name="template/base" /}
{block name="content"}
<div class="page-container">
    <form class="form form-horizontal" id="form" method="post" action="{:\\think\\Url::build($Request.action)}">
        <h5>订单信息</h5>
        <div class="row cl">
            <label class="form-label col-xs-3 col-sm-3">订单id：</label>
            <div class="formControls col-xs-6 col-sm-6">{$info.order_id}</div>
            <div class="col-xs-3 col-sm-3"></div>
        </div>
        <div class="row cl">
            <label class="form-label col-xs-3 col-sm-3">订单编号：</label>
            <div class="formControls col-xs-6 col-sm-6">{$info.order_sn}</div>
            <div class="col-xs-3 col-sm-3"></div>
        </div>

        <div class="row cl">
            <label class="form-label col-xs-3 col-sm-3">订单总金额：</label>
            <div class="formControls col-xs-6 col-sm-6">{$info.total_money}元</div>
            <div class="col-xs-3 col-sm-3"></div>
        </div>

        <div class="row cl">
            <label class="form-label col-xs-3 col-sm-3">优惠金额：</label>
            <div class="formControls col-xs-6 col-sm-6">{$info.youhui_money}元</div>
            <div class="col-xs-3 col-sm-3"></div>
        </div>
        <div class="row cl">
            <label class="form-label col-xs-3 col-sm-3">配送费：</label>
            <div class="formControls col-xs-6 col-sm-6">{$info.postfee}元</div>
            <div class="col-xs-3 col-sm-3"></div>
        </div>

        <div class="row cl">
            <label class="form-label col-xs-3 col-sm-3">须补差价：</label>
            <div class="formControls col-xs-6 col-sm-6">{$info.diff_money}元</div>
            <div class="col-xs-3 col-sm-3"></div>
        </div>

        <div class="row cl">
            <label class="form-label col-xs-3 col-sm-3">须支付金额：</label>
            <div class="formControls col-xs-6 col-sm-6">{$info.real_money}元</div>
            <div class="col-xs-3 col-sm-3"></div>
        </div>


        <div class="row cl">
            <label class="form-label col-xs-3 col-sm-3">支付方式：</label>
            <div class="formControls col-xs-6 col-sm-6">{if condition="$info.pay_type eq '1'"}货到付款{else}在线支付{/if}</div>
            <div class="col-xs-3 col-sm-3"></div>
        </div>

        <div class="row cl">
            <label class="form-label col-xs-3 col-sm-3">支付状态：</label>
            <div class="formControls col-xs-6 col-sm-6">{$info.status}</div>
            <div class="col-xs-3 col-sm-3"></div>
        </div>

        <h5>购物清单：</h5>
        <div class="row cl">
            <div class="form-label col-xs-3 col-sm-3">序号：</div>
            <div class="formControls col-xs-6 col-sm-6">商品名称  x  购买数量</div>
            <div class="col-xs-3 col-sm-3">单价(元)</div>
        </div>
        {volist name="cartlist" id="vo"}
            <div class="row cl">
                <div class="form-label col-xs-3 col-sm-3">{$key+1}：</div>
                <div class="formControls col-xs-6 col-sm-6">{$vo.goods_name}  x  {$vo.buy_num}</div>
                <div class="col-xs-3 col-sm-3">{$vo.buy_price}元</div>
            </div>
        {/volist}

        <h5>收货信息：</h5>
        <div class="row cl">
            <label class="form-label col-xs-3 col-sm-3">收货人：</label>
            <div class="formControls col-xs-6 col-sm-6">{$address.name}</div>
            <div class="col-xs-3 col-sm-3"></div>
        </div>


        <div class="row cl">
            <label class="form-label col-xs-3 col-sm-3">联系方式：</label>
            <div class="formControls col-xs-6 col-sm-6">{$address.mobile}</div>
            <div class="col-xs-3 col-sm-3"></div>
        </div>

        <div class="row cl">
            <label class="form-label col-xs-3 col-sm-3">配送地址：</label>
            <div class="formControls col-xs-6 col-sm-6">{$address.addr}</div>
            <div class="col-xs-3 col-sm-3"></div>
        </div>

    </form>
</div>
{/block}
{block name="script"}
<script type="text/javascript" src="__LIB__/Validform/5.3.2/Validform.min.js"></script>
{/block}